package com.liangtian.mdm.system.organization.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * <p>Encoding    :  UTF-8</p>
 * <p>Package Name: com.liangtian.mdm.system.dictionary.model </p>
 * <p>Project Name: dm </p>
 * <p>Copyright   :  Copyright(c) 2016 石化盈科信息技术有限责任公司 </p>
 * <p>Created Time: 2016-04-22 17:31</p>
 * <p>Description : 机构权限实体</p>
 *
 * @author : wangyq
 * @version :  1.0
 */
@Table(name = "SYS_ORGANIZATION_PERMISSION")
public class SysOrganizationPermission {

    @SequenceGenerator(name = "Any", sequenceName = "SYS_ORGAN_PERM_SEQ")
    @Id
    @Column(name = "ORGANIZATION_PERMISSION_ID")
    private Long organizationPermissionId;

    @Column(name = "ORGANIZATION_ID")
    private Long organizationId;

    @Column(name = "PERMISSION_ID")
    private Long permissionId;

    /**
     * @return ORGANIZATION_PERMISSION_ID
     */
    public Long getOrganizationPermissionId() {
        return organizationPermissionId;
    }

    /**
     * @param organizationPermissionId
     */
    public void setOrganizationPermissionId(Long organizationPermissionId) {
        this.organizationPermissionId = organizationPermissionId;
    }

    /**
     * @return ORGANIZATION_ID
     */
    public Long getOrganizationId() {
        return organizationId;
    }

    /**
     * @param organizationId
     */
    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    /**
     * @return PERMISSION_ID
     */
    public Long getPermissionId() {
        return permissionId;
    }

    /**
     * @param permissionId
     */
    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }
}